<template>
  <div id="app">
    <router-view v-if="hasRouter" />
  </div>
</template>

<script>
export default {
  name: 'App',
  computed: {
    hasRouter() {
      return !!this.$router
    }
  }
}
</script>
